package com.hmyuan.util;

import javax.servlet.http.HttpServletRequest;

import com.hmyuan.domain.Sys_user;

public class UserUtil {

	/**
	 *获取当前用户 
	 */
	public static Sys_user getCurrentUser(HttpServletRequest request ){
		return (Sys_user) request.getSession().getAttribute("currentuser");
	}
}
